package com.ss.android.newmedia.feedback;

import android.content.DialogInterface;
import android.support.v4.app.Fragment;
import com.bytedance.article.common.c.TTUtils;

final class s implements DialogInterface.OnClickListener {
    private final SubmitFeedbackActivity a;

    s(SubmitFeedbackActivity arg1) {
        this.a = arg1;

    }

    public final void onClick(DialogInterface arg6, int arg7) {
        Fragment v4 = null;
        SubmitFeedbackActivity v0 = this.a;
        if(v0.g != null) {
            v0.g.hideSoftInputFromWindow(v0.getWindow().getDecorView().getWindowToken(), 0);
        }

        switch(arg7) {
            case 0: {
                TTUtils.a(this.a, v4, 1003);
                break;
            }
            case 1: {
                TTUtils.a(this.a, v4, 1002, this.a.h, this.a.j);
                break;
            }
        }
    }
}

